<style>
    .head_box .menu .nav li h1 {
        display: none;
    }
</style>
<div class="head_box">
    <div class="logo"><a href="/"><img src="<?php echo image_url('logo.png'); ?>"></a></div>
    <div class="menu">
        <div class="search">
        	<span>
            	<a href="#">
                	<i class="ico"></i>
                </a>
            	<input placeholder="快速查找">
            </span>
        </div>
        <div class="nav">
            <ul>
                <li><a href="/" class="tit <?php if($func == "index"){ echo 'on';} ?>"><i class="ico"></i>集团首页</a></li>
                <li>
                    <a href="/brand.html" class="tit <?php if($func == "brand"){ echo 'on';} ?>"><i class="ico"></i>品牌故事<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($brand) : ?>
                            <?php foreach ($brand as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
                <li>
                    <a href="/product.html" class="tit <?php if($func == "product"){ echo 'on';} ?>"><i class="ico"></i>墙布系列<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($category) : ?>
                            <?php foreach ($category as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/product/" . $val['id'] . ".html"; ?>"><?php echo $val['category_name'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
                <li>
                    <a href="/news.html" class="tit <?php if($func == "news"){ echo 'on';} ?>"><i class="ico"></i>新闻中心<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($zixuncategory) : ?>
                            <?php foreach ($zixuncategory as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/news/" . $val['id'] . ".html"; ?>"><?php echo $val['category_name'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
                <li>
                    <a href="/service.html" class="tit  <?php if($func == "service"){ echo 'on';} ?>"><i class="ico"></i>艾克服务<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($service) : ?>
                            <?php foreach ($service as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
                <li>
                    <a href="/aike.html" class="tit <?php if($func == "aike"){ echo 'on';} ?>"><i class="ico"></i>德国艾克在线<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($onlinecategory) : ?>
                            <?php foreach ($onlinecategory as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/aike/" . $val['id'] . ".html"; ?>"><?php echo $val['category_name'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
                <li>
                    <a href="/join.html" class="tit <?php if($func == "join"){ echo 'on';} ?>"><i class="ico"></i>加盟艾克<em class="ico"></em></a>
                    <h1 class="sub_menu">
                        <?php if ($join) : ?>
                            <?php foreach ($join as $key => $val) : ?>
                                <p>
                                    <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                                </p>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </h1>
                </li>
            </ul>
        </div>
    </div>
    <div class="phone_tit">
        <a href="javascript:viod(0)" id="phone_nav"><img src="<?php echo image_url('menu.png'); ?>"></a>
    </div>
    <div class="phone_lis" style="display:none;">
        <a href="/" class="on">集团首页</a>
        <a href="/brand.html">品牌故事</a>
        <a href="/product.html">墙布系列</a>
        <a href="/news.html">新闻中心</a>
        <a href="/service.html">艾克服务</a>
        <a href="/aike.html">德国艾克在线</a>
        <a href="/join.html">加盟艾克</a>
    </div>
</div>